#!/bin/sh

set -xe

sudo dnf install -y java
curl -s https://get.sdkman.io | bash
echo 'export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
' >> ~/.zshrc
echo "Do it yourself: "
echo "sdk install kotlin"
